package org.jeecg.modules.inspection.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.google.common.collect.Lists;
import org.jeecg.modules.inspection.entity.ExceptionProcess;
import org.jeecg.modules.inspection.entity.PinspectionException;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.system.entity.SysUserPosition;

import java.util.List;

/**
 * @Description: 巡检运行异常
 * @Author: jeecg-boot
 * @Date:   2019-09-26
 * @Version: V1.0
 */
public interface IPinspectionExceptionService extends IService<PinspectionException> {
    String selectOffice(String departId);
    List<SysUserPosition>selectAllConfigUser(List<String> userLists,String officeId,String userId);
    List<PinspectionException> selectExpection(List<String> itemIds);
    List<PinspectionException> selectDealExpection(String userId);
    PinspectionException selectExce(String pitemId,String areaId);
    PinspectionException selectById(String id);
    Integer updateStatus(PinspectionException pinspectionException);
    List<PinspectionException> getAllExce(String userId,String officeId,String str);
    void  insertDealContents(PinspectionException pinspectionException);
    void updateConfirm(String id);
    Integer insertProcess(ExceptionProcess exceptionProcess);


    void updateExce(List<String> trueItems);

    List<PinspectionException> queryByItemId(String itemId);

    List<PinspectionException> queryExceptionList(String id);
}
